Booleans

Published on: Mon Feb 22 2010

I am going to group my class notes, since I didn’t have much from the last two classes. break; Can be used to exit Loops. There is a Boolean type. To use it you need to initiate bool x = true; The ? is a conditional operator. It says var = (logic Check) ? TrueStatement: FalseStatement; Don’t use it. Dangling Else Watch out for these! Don’t write if if else.